﻿using Castle.ActiveRecord;

namespace FileManager_Server.DataLayer.Castle_Model
{
    [ActiveRecord("BD_COMPANY")]
    public class Company:OtherActiveRecord<Company>
    {
        [PrimaryKey(PrimaryKeyType.Assigned)]
        public string ID { get; set; }

        [Property]
        public string PID { get; set; }
        [Property]
        public int CLEVEL { get; set; }
        [Property]
        public string ORDERNUMBER { get; set; }
        [Property]
        public string SNCODE { get; set; }
        [Property]
        public string NAME { get; set; }
        [Property]
        public string SHORTNAME { get; set; }
        [Property]
        public string BEGINTIME { get; set; }
        [Property]
        public string ENDTIME { get; set; }
        [Property]
        public bool STATUS { get; set; }
        [Property]
        public string COMPANYADMIN_USERLIST { get; set; }
        [Property]
        public string USERSADMIN_USERLIST { get; set; }
        [Property]
        public string ADDRESS { get; set; }
        [Property]
        public string MANAGERNAME { get; set; }
        [Property]
        public string ZIPCODE { get; set; }
        [Property]
        public string TELEPHONE { get; set; }
        [Property]
        public string CDESC { get; set; }
        [Property]
        public string SID { get; set; }
        [Property]
        public string SPID { get; set; }
    }
}